import React from 'react';

import './App.css';

/* const name = 'jack'
const obj = {
  name: 'rose',
  age: 18
} */

const  arr=[
  {name: 'rose',age: 18},
  {name: 'rose2',age: 19},
  {name: 'rose3',age: 15},
]
 /* <ul>
      <li>我是一个li==={obj.name}</li>
    </ul> */

function App() {
  return (
    <ul>
      {arr.map(item=>(<li key={item.name}>我是一个li==={item.name}=={item.age}</li>))}
    </ul>
  );
}

export default App;
